package com.tz.aop.test;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableEurekaClient
@EnableAspectJAutoProxy
@EnableTransactionManagement
@MapperScan("com.tz.aop.test.mapper")
public class AopTestStartApplication {
    public static void main(String[] args) {
        SpringApplication.run(AopTestStartApplication.class, args);
    }
}
